<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 刘洪兆0720
  Date: 2022/5/6
  Time: 15:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>系统通知</title>
</head>
<body>
<jsp:include page="student_head.jsp"></jsp:include>

<div style="margin-top: 20px;height: 50px;">

</div>

<div class="container">
    <div class="alert navbar-inverse" style="background-color: #eeeeee; margin-top: 20px">
        <form class="form-inline" role="form" action="${path}/studentInformation"
              style="margin-left: 20px; margin-top: 5px;">
            <div class="form-group">
                <input type="text" id="exam" class="form-control" style="width: 250px" placeholder="考试科目" name="exam">
            </div>
            <div class="form-group">
                <input type="text" id="teaName" class="form-control" style="width: 250px" placeholder="教师姓名"
                       name="teaName">
            </div>
            <button type="submit" class="btn btn-info" style="position:relative;left: 70px;">检索</button>
        </form>
    </div>

    <table class="table table-bordered" style="margin-top: 10px">
        <tr>
            <th class="col-md-3">通知内容</th>
            <th class="col-md-3">通知时间</th>
            <th class="col-md-3">相关考试</th>
            <th class="col-md-3">发布者</th>
        </tr>
        <tbody id="tbody">
        <c:forEach items="${lists}" var="u">
            <tr>
                <td>${u.info}</td>
                <td>${u.times}</td>
                <td>${u.exam}</td>
                <td>${u.t_name}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>